import * as echarts from 'echarts';
import ElementPlus from 'element-plus';

import 'element-plus/dist/index.css';
import 'echarts-gl';
import { createApp } from 'vue';

import "animate.css";

// If you want to use ElMessage, import it.
import 'hive-plus/theme-chalk/src/notification.scss'; // 单独引入message样式
import 'hive-plus/theme-chalk/src/message.scss'; // 单独引入message样式
import 'hive-plus/theme-chalk/src/message-box.scss'; // 单独引入notification样式
import 'hive-plus/theme-chalk/src/badge.scss'; // 单独引入badge样式
import "./assets/style.css";
import '@/styles/index.scss';

import 'virtual:svg-icons-register'; // svg注册器

import App from './App.vue';

import components from '@/components/index';
import directives from '@/directives'; // 自定义全局指令
import router from '@/router';
import { setupStore } from '@/store';

// app
const app = createApp(App);
setupStore(app);

app
  .use(router)
  .use(components)
  .use(directives)
  .use(ElementPlus)
  .mount('#app');
